package com.linewell.system.service;

import java.util.List;

import com.linewell.system.model.SysRoles;
import com.linewell.system.pagemodel.DataGrid;
import com.linewell.system.pagemodel.PageHelper;

public interface ISysRolesService {
	public boolean save(SysRoles sysRoles);
	public List<SysRoles> findAll();
	public boolean deleteAll(String ids);
	public boolean update(SysRoles sysRoles);
	DataGrid datagrid(PageHelper ph, SysRoles sysRoles,Integer depId);
	public void removeAll(String ids);
	public List<SysRoles> getUser(String id);
	public SysRoles getRoleMenu(Integer gid);
	public boolean saveAuthority(String mids, Integer gid);
	public List<SysRoles> getRoles(Integer depId);
}
